Complexity of the path avoiding forbidden pairs problem revisited
نویسنده
چکیده
Let G = (V, E) be a directed acyclic graph with two distinguished vertices s, t, and let F be a set of forbidden pairs of vertices. We say that a path in G is safe, if it contains at most one vertex from each pair {u, v} ∈ F. Given G and F, the path avoiding forbidden pairs (PAFP) problem is to find a safe s–t path in G. We systematically study the complexity of different special cases of the PAFP problem defined by the mutual positions of fobidden pairs. Fix one topological ordering ≺ of vertices; we say that pairs {u, v} and {x, y} are disjoint, if u ≺ v ≺ x ≺ y, nested, if u ≺ x ≺ y ≺ v, and halving, if u ≺ x ≺ v ≺ y. The PAFP problem is known to be NP-hard in general or if no two pairs are disjoint; we prove that it remains NP-hard even when no two forbidden pairs are nested. On the other hand, if no two pairs are halving, the problem is known to be solvable in cubic time. We simplify and improve this result by showing an O(M(n)) time algorithm, where M(n) is the time to multiply two n × n boolean matrices.
منابع مشابه
On the complexity of paths avoiding forbidden pairs
Given a graph G = (V,E), two fixed vertices s, t ∈ V and a set F of pairs of vertices (called forbidden pairs), the problem of a path avoiding forbidden pairs is to find a path from s to t that contains at most one vertex from each pair in F . The problem is known to be NP-complete in general and a few restricted versions of the problem are known to be in P. We study the complexity of the probl...
متن کاملFast Parallel Molecular Solution for Longest and Shortest Paths with Forbidden Pairs
Adleman demonstrate that we can deoxyribonucleic acid (DNA) strands to solve an instance of the Hamiltonian path problem (HPP). One year later, Lipton solved another NP hard problem. In this paper, we use this model for developing a new DNA algorithm to solve longest and shortest path with forbidden pairs. Our algorithm works in polynomial time.
متن کاملCOST Action IC1205 on Computational Social Choice: STSM Report
• Stable matchings with restricted edges. Our first objective was to tackle various problems involving restricted pairs defined by Dias et al. [1]. This problem extends the classical stable matching problem by providing three possible roles for every edge: forced, forbidden and regular. While optimal solutions must contain all forced edges, forbidden edges must be avoided. Dias et al. show that...
متن کاملFinding Paths in Grids with Forbidden Transitions
A transition in a graph is a pair of adjacent edges. Given a graph G = (V,E), a set of forbidden transitions F ⊆ E × E and two vertices s, t ∈ V , we study the problem of finding a path from s to t which uses none of the forbidden transitions of F . This means that it is forbidden for the path to consecutively use two edges forming a pair in F . The study of this problem is motivated by routing...
متن کاملAn Exact Algorithm to Check the Existence of (Elementary) Paths and a Generalisation of the Cut Problem in Graphs with Forbidden Transitions
A graph with forbidden transitions is a pair (G,FG) where G := (VG, EG) is a graph and FG is a subset of the set {({y, x}, {x, z}) ∈ E G}. A path in a graph with forbidden transitions (G,FG) is a path in G such that each pair ({y, x}, {x, z}) of consecutive edges does not belong to FG. It is shown in [S. Szeider, Finding paths in graphs avoiding forbidden transitions, DAM 126] that the problem ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Discrete Applied Mathematics
دوره 161 شماره
صفحات -
تاریخ انتشار 2013